﻿<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/Site.Master" CodeBehind="addnewcars.aspx.vb" Inherits="wsccprototype.addnewcars" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style1
        {
            width: 254px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <br />
<table style="width:100%;" align="center" border="2px">
    <tr>
        <td class="style1">
            <asp:Label ID="Label1" runat="server" Text="Model Number:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txt_model" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label2" runat="server" Text="Production Year:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txt_productionyear" runat="server"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label3" runat="server" Text="Body Type:"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="dd_body_type" runat="server">
                <asp:ListItem>Coupe</asp:ListItem>
                <asp:ListItem>Saloon</asp:ListItem>
                <asp:ListItem>SUV</asp:ListItem>
                <asp:ListItem>Estates</asp:ListItem>
                <asp:ListItem>Cabriolets/Roadsters</asp:ListItem>
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label4" runat="server" Text="Price"></asp:Label>
        </td>
        <td>
            <asp:DropDownList ID="dd_price1" runat="server">
                <asp:ListItem>$</asp:ListItem>
                <asp:ListItem>£</asp:ListItem>
                <asp:ListItem>₦</asp:ListItem>
                <asp:ListItem>R</asp:ListItem>
                <asp:ListItem>€</asp:ListItem>
                <asp:ListItem>YTL</asp:ListItem>
            </asp:DropDownList>
            <asp:TextBox ID="txt_price2" runat="server"></asp:TextBox>
            <asp:RangeValidator ID="RangeValidator1" runat="server" 
                ControlToValidate="txt_price2" ErrorMessage="Be sure you input numbers!!" 
                MaximumValue="2000000000" MinimumValue="300" Type="Double"></asp:RangeValidator>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label5" runat="server" Text="Notable Specifications:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txt_specification" runat="server" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label6" runat="server" Text="Official Weblink:"></asp:Label>
        </td>
        <td>
            <asp:TextBox ID="txt_weblink" runat="server"></asp:TextBox>
            <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" 
                ControlToValidate="txt_weblink" 
                ErrorMessage="Please check and be sure its a weblink" 
                ValidationExpression="http(s)?://([\w-]+\.)+[\w-]+(/[\w- ./?%&amp;=]*)?"></asp:RegularExpressionValidator>
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label7" runat="server" Text="Upload Picture"></asp:Label>
        </td>
        <td>
            <asp:FileUpload ID="pic_upload" runat="server" />
        </td>
    </tr>
    <tr>
        <td class="style1">
            <asp:Label ID="Label8" runat="server" Text="Rating:"></asp:Label>
        </td>
        <td>
            <asp:RadioButtonList ID="rbl_michelinstars" runat="server" 
                RepeatDirection="Horizontal">
                <asp:ListItem>1</asp:ListItem>
                <asp:ListItem>2</asp:ListItem>
                <asp:ListItem>3</asp:ListItem>
                <asp:ListItem>4</asp:ListItem>
                <asp:ListItem>5</asp:ListItem>
            </asp:RadioButtonList>
        </td>
    </tr>
</table>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />
<asp:Button ID="button_save" runat="server" Text="Save" Width="79px" 
        style="height: 26px" />
<br />
<br />
<br />
<br />
<br />
</asp:Content>
